<?php session_start(); if($_SESSION['properlogin'] != 1){ header("Location:error.html"); }?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<?php
if(isset($_POST['Next1']))
{
	
	
	$fdnme=$_POST['fatherName'];
	$fjob=$_POST['fatherOccupation'];
	$faddress=$_POST['fofficeadd'];
	$fincome=$_POST['fatherIncome'];
	$flife=$_POST['fatherLive'];
	$femployer=$_POST['fatherEmployer'];
	$fcp=$_POST['fatherMobile'];
	$mdnme=$_POST['motherName'];
	$mjob=$_POST['motherOccupation'];
	$maddress=$_POST['mofficeadd'];
	$mincome=$_POST['motherIncome'];
	$mlife=$_POST['motherLive'];
	$memployer=$_POST['motherEmployer'];
	$mcp=$_POST['motherMobile'];
	
	$_SESSION['fdnme']=$fdnme;
	$_SESSION['fjob']=$fjob;
	$_SESSION['faddress']=$faddress;
	$_SESSION['fincome']=$fincome;
	$_SESSION['flife']=$flife;
	$_SESSION['femployer']=$femployer;
	$_SESSION['fcp']=$fcp;
	$_SESSION['mdnme']=$mdnme;
	$_SESSION['mjob']=$mjob;
	$_SESSION['maddress']=$maddress;
	$_SESSION['mincome']=$mincome;
	$_SESSION['mlife']=$mlife;
	$_SESSION['memployer']=$memployer;
	$_SESSION['mcp']=$mcp;
	header("Location:form3.php");
}
?>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Information (2/4)</title>
<script type="text/javascript" src="validateInformation.js" ></script>



<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="100%" border="0" cellpadding="1">
 
  <tr>
    <td>&nbsp;</td>
    <td class="subBanner"><strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resident's Basic Information Form</strong></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
    <form id="form1" name="form1" method="post" action="" onsubmit="return validateInformation1(this)">
      <table width="100%" border="0" cellpadding="1">
        <tr>
          <td>&nbsp;</td>
          <td><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>&nbsp;</td>
          <td id="lname2" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td width="37%"><strong>Father's Name</strong></td>
          <td width="34%"><strong>
            <input name="fatherName" type="text" id="fatherName" size="40" />
          </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td width="29%" id="ftherName" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input type="radio" name="fatherLive" id="fatherLive" value="living" />
Living
  <input type="radio" name="fatherLive" id="fatherLive2" value="deceased" />
Deceased&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td id="flive" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td>Father's Occupation</td>
          <td><strong>
            <input name="fatherOccupation" type="text" id="fatherOccupation2" size="40" />
          </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td id="fname" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td> Office Address</td>
          <td><input name="fofficeadd" type="text" id="firstName2" size="40" />            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td id="mname" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td> Income</td>
          <td><strong>
            <input name="fatherIncome" type="text" id="fatherIncome2" size="40" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;          </strong>
          <td id="fincome" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td> Employer</td>
          <td><strong>
            <input name="fatherEmployer" type="text" id="fatherEmployer2" size="40" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;          </strong></td>
          <td id="cstatus" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td>Mobile Number</td>
          <td><strong>
            <input name="fatherMobile" type="text" id="fatherEmployer3" size="40" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;          </strong></td>
          <td id="fcp" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td id="religion2" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td width="37%"><strong>Mother's Name</strong></td>
          <td width="34%"><strong>
            <input name="motherName" type="text" id="motherName" size="40" />
          </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td id="mtherName" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input type="radio" name="motherLive" value="living" />
            Living
            <input type="radio" name="motherLive" value="deceased" />
            Deceased&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td id="mlive" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td>Mother's Occupation</td>
          <td><strong>
            <input name="motherOccupation" type="text" size="40" />
          </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td> Office Address</td>
          <td><input name="mofficeadd" type="text" id="firstName2" size="40" />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td> Income</td>
          <td><strong>
            <input name="motherIncome" type="text" id="fatherIncome2" size="40" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;            </strong>
          </td>
          <td id="mincome" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td> Employer</td>
          <td><strong>
            <input name="motherEmployer" type="text" id="fatherEmployer2" size="40" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;          </strong></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>Mobile Number</td>
          <td><strong>
            <input name="motherMobile" type="text" id="fatherEmployer3" size="40" />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;          </strong></td>
          <td id="mcp" class="error">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input type="submit" name="Next1" id="Next" value="Next" /></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td></td>
          <td>&nbsp;</td>
        </tr>
      </table>
    </form></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>